package com.itheima.health.service;

import com.itheima.health.entity.PageResult;
import com.itheima.health.pojo.Setmeal;

import java.util.List;
import java.util.Map;

public interface SetmealService {

    void add(Setmeal setmeal, Integer[] checkgroupIds);

    PageResult findPage(String queryString, Integer currentPage, Integer pageSize);

    String findAll() throws com.fasterxml.jackson.core.JsonProcessingException;
    String findById(Integer id) throws com.fasterxml.jackson.core.JsonProcessingException;


    List<Map<String,Object>> findSetmealCountByOrder();
}
